package com.wyw.i18n.learning.controller;

import com.wyw.i18n.learning.constant.ResponseStatusEnum;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Title
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2024/3/28 14:01
 * Update History:
 * Author        Time            Content
 */
@RestController
@RequestMapping("test")
@Slf4j
public class TestController {

    @GetMapping("test1")
    public void test() {
        log.info(ResponseStatusEnum.SUCCESS.getMsg());
        log.info(ResponseStatusEnum.FAILED.getMsg());
        log.info(ResponseStatusEnum.AUTH_NO_USER.getMsg());
    }
}
